<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>ImageSize</title>
</head>
<body>
  <script src="../dist/imageSize.js"></script>
  <script>
    imageSize(url, (error, size) => {
      if (error) {
        console.error(err)
        return
      }
      console.log('width:', size.width)
      console.log('height:', size.height)
    })
  </script>
</body>
</html>
